-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix docker build issue (error obtaining VCS status) #11
Fix docker build issue (error obtaining VCS status) #11
Conversation
Not sure why is it failing locally, when I try it on fresh clone of the repo with same version of go it works. The issue with the docker/podman is present tho and from what I saw it might be also fixable by adding .dockerignore where we specify .git (I think it is not necessary there anyway is it?). Once .git is ignored building image should work. I guess both options should be fine so I will let you decide. :) |
I tried the With Thanks for your fast review. :) |
fa2354e
to
b6ed96c
Compare
Hey @mimotej, also, if it's just a simple
vs
|
ping @mimotej 😄 |
Sorry for late review on this, I was off for a while. I think this solution sounds good so LGTM from my side. 🚢 |
@tumido can you approve/merge this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mimotej, tumido The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
I want to build this webterminal-proxy to test the Janus webtermina-plugin but couldn't build it on OpenShift nor my machine when running:
I got this error when running
go build -o .
ordocker build .
.And, I got the same issue when building on an OpenShift cluster:
My go version is: go1.21.5 linux/amd64
The docker image uses currently: go version go1.20.10 linux/amd64
I added
-buildvcs=false
to solve that bug. See golang/go#49004To be honest, I'm unsure why this is now required. Wdyt?